package cn.aws360.boot.extend.open.api.exception;

import cn.aws360.boot.base.api.exception.enums.AbstractExceptionEnum;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

import static cn.aws360.boot.extend.open.api.constant.OpenConstant.MODULE_OPEN_CODE;
import static cn.aws360.boot.extend.open.api.constant.OpenConstant.MODULE_OPEN_NAME;

/**
 * @author junnan
 */
@Getter
@RequiredArgsConstructor
public enum OpenExceptionEnum implements AbstractExceptionEnum {

    /**
     * 三方接口调用
     */
    OPEN_API_GET_EXCEPTION(MODULE_OPEN_NAME, MODULE_OPEN_CODE + "11", "外部接口调用异常!"),

    ;

    private final String module;
    private final String errCode;
    private final String userTip;

}